Testing cyclic motion

Import modules


In [1]:
import numpy as np
import matplotlib.pyplot as plt
import nvg.ximu.ximudata as ximudata
%matplotlib notebook

Load the database


In [2]:
reload(ximudata)
dbfilename = "/home/kjartan/Dropbox/Public/nvg201209.hdf5"
db = ximudata.NVGData(dbfilename);

Implemented analysis methods


In [3]:
print [s for s in dir(db) if s.startswith("track")]


['track_cyclic_orientation', 'track_displacement', 'track_orientation']

Try an analysis


In [4]:
import pdb
a2v = db.get_angle_to_vertical(useCyclic=6)



In [5]:
a2v = db.get_angle_to_vertical(useCyclic=False)



In [ ]: